package cn.tedu.oop;

public class Test6_Final {
    public static void main(String[] args) {
        Son s = new Son();
        s.eat();
     //   s.sum = 20;
        System.out.println(s.SUM);
    }
}
//final class Father{}
class Father{
    final int sum = 10;
    static final int SUM = 10;
    final public void eat(){
        System.out.println("Father...eat()");
    }
}
class Son extends Father{
//    public void eat(){
//
//    }
}